- 
		Home
	
 
	- 
Simply Static – The Static Site Generator
 
- 
3.4.5.1
 
- 
Code
 
- 
Classes
 
-  Background_Process 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											121 | 
										
																			
											| Dependencies | 
											2 | 
										
																			
											| Dependents | 
											0 | 
										
																	
							 
													
								
																			
											| Total lines | 
											1,054 | 
										
																			
											| Lines of code | 
											442 | 
										
																			
											| Logical lines of code | 
											234 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											442 | 
										
																			
											| Methods | 
											48 | 
										
																			
											| Properties | 
											8 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 48
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| handle() | 
									A  | 
																	42 | 
													14 | 
													53 | 
							
					
				| get_batches() | 
									A  | 
																	42 | 
													8 | 
													55 | 
							
					
				| get_chain_id() | 
									A  | 
																	55 | 
													8 | 
													19 | 
							
					
				| __construct() | 
									S  | 
																	56 | 
													7 | 
													17 | 
							
					
				| maybe_handle() | 
									S  | 
																	56 | 
													5 | 
													22 | 
							
					
				| get_memory_limit() | 
									S  | 
																	62 | 
													4 | 
													11 | 
							
					
				| get_chain_id_arg_name() | 
									S  | 
																	63 | 
													4 | 
													11 | 
							
					
				| lock_process() | 
									S  | 
																	58 | 
													3 | 
													16 | 
							
					
				| is_active() | 
									S  | 
																	78 | 
													4 | 
													3 | 
							
					
				| get_cron_interval() | 
									S  | 
																	65 | 
													4 | 
													8 | 
							
					
				| maybe_unserialize() | 
									S  | 
																	63 | 
													4 | 
													10 | 
							
					
				| should_continue() | 
									S  | 
																	68 | 
													4 | 
													7 | 
							
					
				| dispatch() | 
									S  | 
																	63 | 
													3 | 
													11 | 
							
					
				| get_status() | 
									S  | 
																	56 | 
													2 | 
													20 | 
							
					
				| handle_cron_healthcheck() | 
									S  | 
																	66 | 
													3 | 
													10 | 
							
					
				| schedule_cron_healthcheck() | 
									S  | 
																	60 | 
													2 | 
													13 | 
							
					
				| save() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| update() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| delete_all() | 
									S  | 
																	67 | 
													2 | 
													8 | 
							
					
				| generate_key() | 
									S  | 
																	63 | 
													2 | 
													10 | 
							
					
				| is_processing() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| extract_site_id_from_column_name() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| memory_exceeded() | 
									S  | 
																	64 | 
													2 | 
													9 | 
							
					
				| time_exceeded() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| schedule_event() | 
									S  | 
																	66 | 
													2 | 
													9 | 
							
					
				| clear_scheduled_event() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| push_to_queue() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| delete() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| cancel() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| is_cancelled() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| cancelled() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| pause() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_paused() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| paused() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| resume() | 
									S  | 
																	72 | 
													1 | 
													6 | 
							
					
				| resumed() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| is_queued() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_status_key() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_queue_empty() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| is_process_running() | 
									S  | 
																	81 | 
													1 | 
													3 | 
							
					
				| unlock_process() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| get_batch() | 
									S  | 
																	67 | 
													1 | 
													9 | 
							
					
				| complete() | 
									S  | 
																	74 | 
													1 | 
													5 | 
							
					
				| completed() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| cancel_process() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| task() | 
									S  | 
																	100 | 
													1 | 
													0 | 
							
					
				| get_identifier() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| filter_dispatch_query_args() | 
									S  | 
																	76 | 
													1 | 
													4 |